All Projects → kalbhor → Memedensity

kalbhor / Memedensity

Licence: mit
CLI tool to let you know amount of memes in facebook feed.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Memedensity

Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (+79.55%)
Mutual labels:  cli, facebook, selenium
Webdrivers
Keep your Selenium WebDrivers updated automatically
Stars: ✭ 466 (+959.09%)
Mutual labels:  selenium, webdriver
Minkselenium2driver
Selenium2 (webdriver) driver for Mink framework
Stars: ✭ 461 (+947.73%)
Mutual labels:  selenium, webdriver
Selendroid
"Selenium for Android" (Test automate native or hybrid Android apps and the mobile web with Selendroid.) Join us on IRC #selendroid on freenode. Also confirm you have signed the CLA http://goo.gl/pAvxEI when making a Pull Request.
Stars: ✭ 828 (+1781.82%)
Mutual labels:  selenium, webdriver
Golem
A complete test automation tool
Stars: ✭ 441 (+902.27%)
Mutual labels:  selenium, webdriver
Selenium
A browser automation framework and ecosystem.
Stars: ✭ 22,369 (+50738.64%)
Mutual labels:  selenium, webdriver
Selenium Python
Selenium Python Bindings Documentation
Stars: ✭ 640 (+1354.55%)
Mutual labels:  selenium, webdriver
Webdriver manager
Stars: ✭ 340 (+672.73%)
Mutual labels:  selenium, webdriver
Social ids
Get user ids from social network handlers
Stars: ✭ 9 (-79.55%)
Mutual labels:  cli, facebook
Singlefilez
Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a self-extracting HTML/ZIP polyglot file
Stars: ✭ 882 (+1904.55%)
Mutual labels:  cli, selenium
Wdio Workshop
WebdriverIO Workshop
Stars: ✭ 20 (-54.55%)
Mutual labels:  selenium, webdriver
Selenium Maven Template
A maven template for Selenium that will let you check out and go.
Stars: ✭ 403 (+815.91%)
Mutual labels:  selenium, webdriver
Undetected Chromedriver
Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
Stars: ✭ 365 (+729.55%)
Mutual labels:  selenium, webdriver
Php Webdriver
PHP client for Selenium/WebDriver protocol. Previously facebook/php-webdriver
Stars: ✭ 4,477 (+10075%)
Mutual labels:  selenium, webdriver
Atata
C#/.NET test automation framework for web
Stars: ✭ 362 (+722.73%)
Mutual labels:  selenium, webdriver
Docker Selenium
Docker images for the Selenium Grid Server
Stars: ✭ 5,476 (+12345.45%)
Mutual labels:  selenium, webdriver
Wd
Use WebDriver from the command line
Stars: ✭ 31 (-29.55%)
Mutual labels:  selenium, webdriver
Rselenium
An R client for Selenium Remote WebDriver
Stars: ✭ 278 (+531.82%)
Mutual labels:  selenium, webdriver
Singlefile
Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a single HTML file
Stars: ✭ 4,417 (+9938.64%)
Mutual labels:  cli, selenium
E2e Experiment
A demo project with Spring Boot / Angular application and e2e tests
Stars: ✭ 9 (-79.55%)
Mutual labels:  selenium, webdriver

M E M E   D E N S I T Y

Tells you the approximate amount of memes in your facebook newsfeed.

alt tag

Preface

Since April 2016, Facebook has been automatically adding alt tags to all images with keywords representing the content of the images:

<img csrc="https://facebook.com/some-url.jpg"
alt="Image may contain: golf, grass, outdoor and nature"
width="316" height="237">

They are labeling the images using a Deep ConvNet built by Facebook's FAIR team team.

On one hand, this is really great. It improves accessibility for blind users who depend on screen readers which are only capable of processing text. But raises privacy concerns too.

Thank you ageitgey for originally finding out about this.
Anyhow, this script uses this addition by Facebook to it's advantage. MemeDensity reads alt tags of the images in your newsfeed and lets you know the quantity of memes on your feed.
Since Facebook doesn't directly allow fetching the newsfeed from its API, this script uses Selenium and PhantomJS to simulate a surf through the newsfeed.

Dependencies

PhantomJS or any other webdriver.

MacOS

brew install phantomjs

Linux

sudo apt-get install phantomjs

Windows

Download and set in environment variables

Installing

From Source:

Check out the latest release

or
$ git clone https://github.com/kalbhor/MemeDensity
$ cd MemeDensity
$ python setup.py install

From PyPI:

$ pip install memedensity

If you'll be using a different webdriver (Not PhantomJS), simply edit MemeDensity/command_line.py and add your webdriver

driver = webdriver.PhantomJS()

Options

optional arguments:
  -h, --help            show this help message and exit
  -C, --count           How many times to scroll newsfeed (default = 5)
  -L, --login           Input login credentials
  -v, --verbose         Shows meme urls

Usage

$ memedensity

Contributing

Currently this project is in its infancy and issues are bound to arise. If the script throws an exception, please make sure to check your running processes to see whether the webdriver has been closed or not. To contribute, post issues without hesitation and open pull requests to add/improve features.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].