Skip to content

Latest commit

 

History

History
98 lines (64 loc) · 2.36 KB

File metadata and controls

98 lines (64 loc) · 2.36 KB

Facebook Scraper

Build Status Maintainability

🇧🇷 Readme | 🇺🇸 Readme

🇧🇷 Documentação | 🇺🇸 Documentation

Table of Content

Making it Run

Once you have installed python3 and Git, cloned our repository and is using a coding text editor (Atom, VSCode, Sublime ou Pycharm), follow these instructions.

Create a virtual environment

python3 -m venv venv
source venv/bin/activate

Now you have to install all packages related to the project

For those using Linux or MacOS

make install

For Windows

pip install -r requirements.txt

Once you have installed everything, install ChromeDriver to update and configure the token. You need to download it and add it to your PATH. For Linux and MacOS (Mac might not be working anymore) users use:

make chromedriver

For Windows, follow Splinter instructions: (Instructions to download ChromeDriver). Once ChromeDriver installed sucessfully use

make run

and follow the instructions to use the program. The file entidades.csv define which pages we are scrapping, so update it as you want.

Testing the code

For using the tests we wrote to check code functionalities

make

WARNING: It'll print a bunch of stuff. As long as it returns an exit code 1, it's all fine.

Verifying style

To check your code indentation and PEP8 related:

make style

Important to use it if you want to send us a Pull Request 😄

A Project by

alt text

Universidade de Brasília

alt text

Resocie : Repensando as Relações entre Sociedade e Estado