/cookups

post extraction from cookups facbook page

This python script extracts cookups, a homemade food delivery service, group posts from facebook group posted by cooks. This posts have somewhat a template though underlying markup is as messy as it gets as facebook entirely dependent on react based rendering. This scripts may become invalid as soon as facebook changes any of its data representaion format currently used.

Requirements

  • selenium
  • openpyxl
  • beautifulsoup4

Selenium is used to replicate usr interaction in the site. Firefox web driver has been used as webdriver.

beautifulsoup4 comes handy when iterating over a html. Though selenium has html iteration support I preferred beautifulsoup for it's ease of use, documentation and brevity.

openpyxl is a popular python package to manipulate excel files using python

Pipenv is used to manage packages and maintain virtual environment.

Python version 3.6