/selenium-friends-scraper

Python code that simulates the activity of crawling Facebook to get friends of friends network without using the API.

Primary LanguagePython

selenium-friends-scraper

If you're somebody trying to get their friends of friends to play with it in Gephi, this is for you. It still works, but it's pretty slow and the Selenium config is a bit odd, and I don't have time to make it work right at this moment.

Usage

The current version is written using Selenium's Firefox web driver, which means you need Firefox installed.

Soon, versions will be rewritten for use with Chrome, Safari, and maybe IE.

Installation

Either run:

$ git clone https://github.com/ben-pr-p/selenium-friends-scraper.git
$ cd selenium-friends-scraper
$ source venv/bin/activate
(venv)$ python main.py

or, if you have pip

$ git clone https://github.com/ben-pr-p/selenium-friends-scraper.git
$ cd selenium-friends-scraper
$ pip install selenium
$ python main.py