Skip to content

Annguyn/PBL3-Job-Seeker-Website

Repository files navigation

PBL3 Applying AI to analyze recruitment information on Facebook

image

CRAWL DATA

Recording.2024-04-18.103424.mp4

1. Cài đặt

  1. Mở CMD trên máy gõ :
git clone https://github.com/Annguyn/PBL3-Applying-AI-to-analyze-recruitment-information-on-Facebook/

để clone project về máy

  1. Cài đặt các thư viện python cần thiết.

Cài đặt 'requests'

    pip install requests

Cài đặt pyotp

    pip install pyotp

Cài đặt Selenium

pip install selenium

Cài đặt Pandas

pip install pandas

Cài đặt Keyboard

pip install keyboard

Cài đặt Chromedriver

Install-Package Selenium.WebDriver.ChromeDriver -Version 122.0.6261.11100

2. Sử dụng

1. Thay đổi thông tin tài khoản và mật khẩu của bạn

userName = '100054522522135'
passWord = 'GtT71qOMzwgLJVe'

2. Chạy chương trình

python crawl.py

Sau khi chương trình tự đăng nhập , chọn 1 để crawl id các bài post trong group , chọn 2 để đọc text của các id đã được crawl ở bước 1. -> Nhập số lượng bài viết cần crawl.