tinyx3k / crawl_post_group_fanpage_facebook

Crawl post of fanpage and group facebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crawl post group fanpage facebook

Required:

python3.6.9

selenium 3.141.0

2b15d33c-738d-468a-bf02-d8e4ecd40080

pip3 install selenium
pip3 install pyotp
  • Step 2 – Install Google Chrome
sudo curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
sudo echo "deb [arch=amd64]  http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
sudo apt-get -y update
sudo apt-get -y install google-chrome-stable
  • Step 3 – Install ChromeDriver
wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
You can find the latest ChromeDriver on its official download page. Now execute below commands to configure ChromeDriver on your system.

sudo mv chromedriver /usr/bin/chromedriver
sudo chown root:root /usr/bin/chromedriver
sudo chmod +x /usr/bin/chromedriver

Replace login information in crawl.py file

userName = '100054522522135'
passWord = 'GtT71qOMzwgLJVe'
twoFa= 'RTWF2XYGJDDQV2F2EPBTFHCZV4DDMP2N'

Run code

python3 crawl.py

About

Crawl post of fanpage and group facebook


Languages

Language:Python 100.0%