Giter Site home page Giter Site logo

facebook_crawler-1's Introduction

Facebook_Crawler

The project is developed by Teng-Lin Yu(游騰林). If you have any questions or suggestions, please feel free to contact me.

Support

ecgo.png

Donate is not required to utilize this package, but web crawler projects need much time to maintain and developed. If you could support me, I will really appreciate it. Either donate, star or share is good for me. Your support will help me to maintain and develop more functions.

捐款不是使用這個套件的必要行為,但網路爬蟲專案都會需要花費相當多時間來維護和開發,如果你能支持我我會非常感謝。不論是捐款、給星星或跟朋友分享對我來說都是非常好的支持方式。你的支持會是我維護和繼續開發新功能的動力

What's this?

The project could help us collect data from Facebook's public Fanspage / group. Here are the three big points of this project:

  1. You don't need to log in to your account.
  2. Easy to use: Just key in the Fanspage/group URL and the target date.
  3. Efficiently: It collects the data through request directly instead of Selenium.

這個專案可以幫我們從 Facebook 公開的的粉絲頁和公開社團收集資料。以下是本專案的 3 個重點:

  1. 不需要登入你的帳號
  2. 使用簡易: 僅需輸入網址與指定的日期(藉此跳出迴圈)
  3. 非常有效率: 透過 requests 直接抓取資料,不需透過 Selenium

Quickstart

  • Install Method

    pip install facebook-crawler
    
  • Facebook Fanspage

    import facebook_crawler
    pageurl= 'https://www.facebook.com/diudiu333'
    facebook_crawler.Crawl_PagePosts(pageurl=pageurl, until_date='2021-01-01')

    quickstart_fanspage.png

  • Group

    import facebook_crawler
    groupurl = 'https://www.facebook.com/groups/pythontw'
    facebook_crawler.Crawl_GroupPosts(groupurl, until_date='2021-01-01')

    quickstart_group.png

License

  • Apache License 2.0
  • 本專案提供的所有內容均用於教育、非商業用途。本專案不對資料內容錯誤、更新延誤或傳輸中斷負任何責任。

Contact

  • Email: [email protected]
  • Facebook:
  • Any suggestions is good and feel free to contact me.

To Do

  • GUI interface
  • Database

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.