The project is developed by Teng-Lin Yu(游騰林). If you have any questions or suggestions, please feel free to contact me.
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.
捐款不是使用這個套件的必要行為,但網路爬蟲專案都會需要花費相當多時間來維護和開發,如果你能支持我我會非常感謝。不論是捐款、給星星或跟朋友分享對我來說都是非常好的支持方式。你的支持會是我維護和繼續開發新功能的動力
The project could help us collect data from Facebook's public Fanspage / group. Here are the three big points of this project:
- You don't need to log in to your account.
- Easy to use: Just key in the Fanspage/group URL and the target date.
- Efficiently: It collects the data through request directly instead of Selenium.
這個專案可以幫我們從 Facebook 公開的的粉絲頁和公開社團收集資料。以下是本專案的 3 個重點:
- 不需要登入你的帳號
- 使用簡易: 僅需輸入網址與指定的日期(藉此跳出迴圈)
- 非常有效率: 透過 requests 直接抓取資料,不需透過 Selenium
-
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')
-
Group
import facebook_crawler groupurl = 'https://www.facebook.com/groups/pythontw' facebook_crawler.Crawl_GroupPosts(groupurl, until_date='2021-01-01')
- Apache License 2.0
- 本專案提供的所有內容均用於教育、非商業用途。本專案不對資料內容錯誤、更新延誤或傳輸中斷負任何責任。
- Email: [email protected]
- Facebook:
- Any suggestions is good and feel free to contact me.
- GUI interface
- Database