/selenium-fb-crawling

Sole project: Selenium application for AhaMove business

Primary LanguagePython

FACEBOOK CRAWLING BOT

1. BACKGROUND

An Python program which helps finding customers for AhaMove sales team.
Automatically look for shipping request posts in pre-defined groups and notify staffs via Telegram.
Staff will be assign using Telegram Username (Ex: @quancao). Therefore, please make sure all staffs have Username on Telegram.
Posts will be simultaneously logged on Google Sheet.

Skills involved:

  1. Python
  2. Multi-threading
  3. Selenium
  4. Google Sheet API
  5. Telegram API
  6. SQL

2. WHAT THIS DOES

2.1. Notify shipping request posts from non-ahamove users

2.1.1. Send notification via Telegram

NEW POST
Nội dung: {post_content}
Facebook: {facebook_profile}
Phone: {phone_detected_in_content}
Link: {post_link}
{staff}

2.1.2. Save posts on Google Sheet for staff

phone time content post profile staff note
84xxxxxx 2019-12-24 14:17:00 ứng 100 https://www.facebook.com/groups/... https://www.facebook.com/... @quancao good

2.1.3. Save posts Google Sheet for log

phone time content post profile
84xxxxxx 2019-12-24 14:17:00 ứng 100 https://www.facebook.com/groups/... https://www.facebook.com/...

2.2. Notify shipping request posts from ahamove users via Telegram

Filter: Only users in their 40 days old.

NEW POST
Nội dung: {post_content}
Facebook: {facebook_profile}
Link: {post_link}
#nophone

2.3. Store posts

All gathered posts will be stored in format of SQL in order to conduct analytic later on.