bholagabbar / crackmeup

CrackMeUp scrapes dank jokes off popular websites and serves it through an API to a Twitter bot and CLI

Home Page:https://twitter.com/crackmeupbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The original crackmeup has transmogrified into the CrackMeUp Twitter Bot and the CrackMeUp Joke API! Say hi to the bot on twitter @crackmeupbot and find the API at crackmeup-api.herokuapp.com.

crackmeup

crackmeup is a Python based web-crawler of sorts, that scrapes data off popular joke websites and shows you a random joke everytime you run it
Work still in progress.

To run in dev setup, you need Python 2.7 installed and the BeautifulSoup package.

Installation:
  • Get Python here
  • Installing BeautifulSoup:
    1. Go to the directory where Python is installed.
    2. Enter the Scripts folder
    3. Open up the terminal in Linux/cmd in Windows pointing to this location
    4. Windows: pip install beautifulsoup4, Linux: sudo pip install beautifulsoup4 (if pip is not installed, then run sudo apt-get install python-pip)
Execution:

Enter the crackmeup folder and in terminal, run python crackmeup.py.

Enjoy your random joke!

Screenshot:

About

CrackMeUp scrapes dank jokes off popular websites and serves it through an API to a Twitter bot and CLI

https://twitter.com/crackmeupbot


Languages

Language:Python 100.0%